<div>
    <div id="_goodCashierWechatAuthCode" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel"
         aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-body">
                    <h3 class="m-t-none m-b ">请用扫码枪扫码</h3>
                    <div class="ibox-content">
                        <div>
                            <div>
                                <div class="form-group row">
                                    <label class="col-sm-2 col-form-label">总金额：</label>
                                    <label class="col-sm-3 col-form-label"
                                           style="font-size: 25px; line-height: 20px; color: red;">
                                        ￥{{goodCashierConfirm.preMoney}} </label>
                                    <label class="col-sm-2 col-form-label">消费积分：</label>
                                    <label class="col-sm-3 col-form-label"
                                           style="font-size: 25px; line-height: 20px;color: red;">
                                        {{goodCashierConfirm.bonusPoints}} </label>
                                </div>
                                <div class="row">
                                    <label class="col-sm-2 col-form-label">优惠方式：</label>
                                    <div class="col-sm-3">
                                        <select class="custom-select" v-model="goodCashierConfirm.discountType">
                                            <option selected disabled value="">请选择优惠方式</option>
                                            <option value="1001">打折</option>
                                            <option value="2002">减免</option>
                                        </select>
                                    </div>
                                    <label class="col-sm-2 col-form-label"
                                           v-if="goodCashierConfirm.discountType=='1001'">打折率：</label>
                                    <div class="col-sm-3" v-if="goodCashierConfirm.discountType=='1001'">
                                        <input class=" form-control border-radius"
                                               v-model="goodCashierConfirm.discountRate" type="text"
                                               @blur="_goodCashierConfirmComputeMoney()">
                                    </div>
                                    <label class="col-sm-2 col-form-label"
                                           v-if="goodCashierConfirm.discountType=='2002'">减免金额：</label>
                                    <div class="col-sm-3" v-if="goodCashierConfirm.discountType=='2002'">
                                        <input class=" form-control border-radius"
                                               v-model="goodCashierConfirm.discountPrice" type="text"
                                               @blur="_goodCashierConfirmComputeMoney()">
                                    </div>
                                </div>
                                <div class="form-group row">
                                    <label class="col-sm-2 col-form-label">应收金额：</label>
                                    <label class="col-sm-3 col-form-label"
                                           style="font-size: 25px; line-height: 20px;color: red;">
                                        ￥{{goodCashierConfirm.money}} </label>
                                </div>
                                <div class="form-group row">
                                    <label class="col-sm-2 col-form-label"
                                    >支付信息：</label>
                                    <div class="col-sm-8">
                                        <input v-model="goodCashierConfirm.authCode" id="wxAuthCode" type="text"
                                               @keyup.enter="_doPayWxCarsh()" placeholder="必填，请填写支付信息，扫码枪扫入"
                                               class="form-control">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-3 pull-right">
                                        <button class="btn  btn-white btn-lg btn-block"
                                                v-on:click="_closeWxPayCarsh()">关闭
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="_confirmPayCarshCode" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel"
         aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-body">
                    <h3 class="m-t-none m-b ">结算确认</h3>
                    <div class="ibox-content">
                        <div class="form-group row">
                            <label class="col-sm-2 col-form-label">总金额：</label>
                            <label class="col-sm-3 col-form-label"
                                   style="font-size: 25px; line-height: 20px; color: red;">
                                ￥{{goodCashierConfirm.preMoney}} </label>
                            <label class="col-sm-2 col-form-label">消费积分：</label>
                            <label class="col-sm-3 col-form-label"
                                   style="font-size: 25px; line-height: 20px;color: red;">
                                {{goodCashierConfirm.bonusPoints}} </label>
                        </div>
                        <div class="row">
                            <label class="col-sm-2 col-form-label">优惠方式：</label>
                            <div class="col-sm-3">
                                <select class="custom-select" v-model="goodCashierConfirm.discountType">
                                    <option selected disabled value="">请选择优惠方式</option>
                                    <option value="1001">打折</option>
                                    <option value="2002">减免</option>
                                </select>
                            </div>
                            <label class="col-sm-2 col-form-label"
                                   v-if="goodCashierConfirm.discountType=='1001'">打折率：</label>
                            <div class="col-sm-3" v-if="goodCashierConfirm.discountType=='1001'">
                                <input class=" form-control border-radius" v-model="goodCashierConfirm.discountRate"
                                       type="text" @blur="_goodCashierConfirmComputeMoney()">
                            </div>
                            <label class="col-sm-2 col-form-label"
                                   v-if="goodCashierConfirm.discountType=='2002'">减免金额：</label>
                            <div class="col-sm-3" v-if="goodCashierConfirm.discountType=='2002'">
                                <input class=" form-control border-radius" v-model="goodCashierConfirm.discountPrice"
                                       type="text" @blur="_goodCashierConfirmComputeMoney()">
                            </div>
                        </div>
                        <div class="form-group row margin-top">
                            <label class="col-sm-2 col-form-label">实收金额：</label>
                            <label class="col-sm-3 col-form-label">
                                <input class="form-control border-radius" type="number" min="0.01"
                                       @blur="_changeReceivableMoney()" v-model="goodCashierConfirm.receivableMoney">
                            </label>
                            <label class="col-sm-2 col-form-label">找零：</label>
                            <label class="col-sm-3 col-form-label"
                                   style="font-size: 25px;color: red;">￥{{goodCashierConfirm.givechange}}
                            </label>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-2 col-form-label">应收金额：</label>
                            <label class="col-sm-3 col-form-label"
                                   style="font-size: 25px; line-height: 20px;color: red;">
                                ￥{{goodCashierConfirm.money}}
                            </label>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-3 pull-right">
                                <button class="btn  btn-primary btn-lg btn-block" v-on:click="_payCarsh()">确定</button>
                            </div>
                            <div class="col-sm-3 pull-right">
                                <button class="btn  btn-white btn-lg btn-block"
                                        v-on:click="_closePayCarsh()">关闭
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>